﻿using System.Web.Mvc;
using System.Web.Routing;
using LogikBug.ModularMvc.Factories;

namespace LogikBug.ModularMvc.Registration
{
	public class RegistrationContext : IRegistrationContext
	{
		#region Constructors

		public RegistrationContext()
		{
			Routes = RouteTable.Routes;
			MenuFactory = MenuFactoryProvider.Current;
			ViewEnginesCollection = ViewEngines.Engines;
		}

		#endregion

		#region Properties

		public RouteCollection Routes { get; set; }

		public ViewEngineCollection ViewEnginesCollection { get; set; }

		public IMenuFactory MenuFactory { get; set; }

		#endregion
	}
}
